package boundary;

import entities.Tache;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class TacheEJB {

    @PersistenceContext(unitName = "TM-PU")
    EntityManager em;

    public void save(Tache t) {
        em.persist(t);
    }
}
